import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
import store from "./store";

Vue.config.productionTip = false;

import "./style/reset.css";

import "./filter/index";

// vant组件
import {
  Button,
  Tabbar,
  TabbarItem,
  Image as VanImage,
  NavBar,
  Stepper,
  Swipe,
  SwipeItem,
  Sticky,
  List,
  Tab,
  Tabs,
  Notify,
  Icon,
  Switch,
  Dialog,
} from "vant";
Vue.use(Notify);
Vue.use(VanImage);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(Stepper);
Vue.use(Button);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Sticky);
Vue.use(List);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Icon);
Vue.use(Switch);
Vue.use(Dialog);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
